<template>
	<view>
		<button @click="updateUserInfo">测试</button>
		<button @click="goBack">返回</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			updateUserInfo(newInfo) {
				this.$store.dispatch('updateUserInfo', {a:123});
			},
			goBack(){
				uni.navigateBack()
			}
		}
	}
</script>

<style lang="scss">

</style>